Sounds like it either needs to go back to HTC for them to replace the jack or you would have to find a local repair shop who can work on HTC units.
The parts aught to be fairly cheap but im sure most shops will charge decent money for labor, especially with the way the M9 is built.