The internal connectors on your micro USB wire may be broken, the easiest solution would be to use a new wire. Most cell phone charger wires are compatible.
open