their connotations for English speakers are different. Only is more neutral, whereas merely is depreciative, and just is mildly positive. Another example form Wierzbicka shows this even better, the expression just for fun could be used as an advertising slogan, but merely for fun wouldn’t work to sell much!