I believe I have solved this issue by adding the following to my requirejs-config.js file:
var config = {
shim: {
'fotorama/fotorama': {
deps: ['jquery']
}
}
};
More info on shim configuration: http://requirejs.org/docs/api.html#config-shim