The Brown-Kuchař mechanism is applied in the case of general relativity coupled with Schutz' model for a perfect fluid. Using the canonical formalism and manipulating the set of modified constraints one is able to recover the definition of a time-evolution operator, i.e. a physical Hamiltonian, expressed as a functional of gravitational variables and the entropy.