A derivation of the constitutive equations for non-equilibrium stationary states from extended irreversible thermodynamics