Well, if whatever incident broke the connectors broke _only_ the connectors.
If you are good with a soldering iron you could, in theory, solder wires from a spare male connector to the wire pads on the broken connectors. If the connector is snapped off completely, this would be pretty difficult, as you would be attempting to solder directly to the controller board.
In the latter case, you might try replacing the controller board with one that still has its connectors. If you decide to try that, I can't help you; I am not among those who have succeeded at this task.
How broken is it? Can you post a picture?