When a phrase is used as an adjective and qualifier like this, there are options; the choice may be a question of style, or may be dictated by editorial policy, but that style (hyphens between all words) is my personal preference for aesthetic reasons, and it's the one I've seen used by the most educated and careful writers.