We consider the following pexiderized version of Jensen-Hossz\'u equation of the form \[ 2 f(\frac{x+y}{2}) = g(x+y-xy) + h(xy), \] where $f, g, h$\ are unknown real-valued functions of a real variable. We prove that $f, g, h$\ are affine functions and, moreover, we prove that these equation is stable in the Hyers-Ulam sense.