if that doesnt work, close osu, go into the osu directory and delete the osu!.db file, this will force the game to rebuild the beatmap database from the /songs/ directory
EDIT: keep in mind any old scores on missing beatmaps won't be there and you will have to find a way to restore them (the scores and replays are still in the osu!/Data/r/ directory)