I think being a generalist is somehow better (or safer?) than a specialist.
Although you may not be able to find a position in a large company, small companies really need this kind of people. Maybe the salary isn't high, but it's relatively easier for a generalist to find a job. This can be important especially in the technology world where everything changes very fast. Imagine if you were a specialist in Blackberry making the best mobile hardware keyboard in the world ten years ago, you would not expect everyone uses touchscreen now, it would be difficult for you to find another similar job. Even if you are willing to give up on the aspect you are good at, and learn something new to chase the trend, it takes time as well.