At high energy, light quarks (especially up and down) and antiquarks are produced in large amounts, and combine to some hadrons afterwards. I would expect that "up anti-down", "down anti-up", "up anti-up" and "down anti-down" all have a similar probability, and form pi+, pi-, pi0, pi0, respectively. That approximation is not perfect, of course, as you have the initial valence quarks (2 up and 1 down in the beam, some variable composition in the target) and the quarks have a small mass.