Pair programming can be a solution. Your employer may fear you are slower than on your own but in reality it will vastly increase your productivity and make you feel better at the same time. Also the result will often be better than what you would have eventually achieved by yourself.
I have found this works insanely well for me.
I realized that I'd been using it as a sort of crutch for a while.
It not only motivated me it drew me out of my shell. It made me more willing to reach out to people i needed coz i was already in a "social mindset". It also made it easier to assess and take risks as a pair.
Whereas alone I become somewhat risk averse and asocial.