Probably it's not the most elegant solution, but it doesn't require any extra package. I simply use a math environment,
$\text{the words you do not want a line-break in between}$
and it seems to work.