The control pad on the Bose Companion 5 has a tendency to wear and break wires. I have repaired it before cutting into the original molded plug and soldering then hot gluing but this time I had a 3D printer.
You can buy the crimp on connector at RS/Farnell or similar electronics outlets and print this housing for it.
Molex Micro-Fit Male Crimp Connector Housing, 3mm Pitch, 10 Way, 2 Row
Molex Micro-Fit 3.0 Female Crimp Terminal Contact 26AWG