Within the framework of strictly hyperbolic systems of conservation laws endowed with a convex entropy, it is shown that the admissible solution to the Riemann problem is obtained by minimizing the entropy production over all wave fans with fixed end-states.