Minimal length and bouncing-particle spectrum