Representing finitely generated refinement monoids as graph monoids